<div class="login-panel">
	<div class="banner">
		<img src="<?php echo Yii::app()->request->baseUrl; ?>/html/image/logo-admin.png" alt="Clever Solution"/>
	</div>
	<div class="login">
        <?php $form=$this->beginWidget('CActiveForm', array(
            'id'=>'login_form',
            'enableClientValidation'=>true,
            'clientOptions'=>array(
                'validateOnSubmit'=>true,
            ),
        )); ?>
		
			<div class="login-table">
				<table cellpadding="10px">
					<tr>
                        <td width="100px" align="left"><?php echo Yii::t('login', '_LB_EMAIL'); ?></td>
                        <td><input type=text class="textbox-admin" id="login" name="login" value="<?php if(isset($login) && $login) {echo $login;} ?>" maxlength="255"></td>
					</tr>
					<tr>
						<td align="left"><?php echo Yii::t('login', '_LB_PASSWORD'); ?></td>
						<td><input type=password class="textbox-admin" id="pwd" name="pwd" value="" maxlength="255"></td>
					</tr>
					<tr>
						<td>&nbsp;</td>
						<td align="left"><input type="submit" class="button-admin" value="<?php echo Yii::t('login', '_LB_LOGIN'); ?>"></td>
					</tr>
                    <tr>
                        <td colspan="2">
                            <div style="text-align:center;color:#FF0000;">
                                <?php if(isset($message_error)) { ?>
                                    <div class="spacer"></div>
                                    <?php if(is_array($message_error)) { ?>
                                        <?php foreach($message_error as $message) {?>
                                            <?php echo $message; ?><br />
                                        <?php } ?>
                                    <?php } else { ?>
                                        <span class="message_erreur"><?php echo $message_error; ?></span>
                                    <?php } ?>
                                <?php } ?>
                            </div>
                        </td>
                    </tr>
				</table>
			</div>
		<?php $this->endWidget(); ?>
	</div>
    
    <div class="forgetPwd">
		<div class="msgForget">
			<span><?php echo Yii::t('login', '_LB_FORGOT_PASSWORD'); ?></span><br><br>
			<input type=button class="button-admin" value="<?php echo Yii::t('login', '_LB_RECOVERY_PASSWORD'); ?>">
		</div>
	</div>


